//
//  HomePageVM.h
//  WanCaiC8
//
//  Created by tangang on 2018/2/28.
//  Copyright © 2018年 tangang. All rights reserved.
//

#import "BaseVM.h"
#import "LotteryTypeModel.h"
#import "RankingUserModel.h"
#import "Home_LotteryModel.h"
#import "NewsModel.h"
#import "NewsLottryTypeModel.h"
#import "HomeNavigationByLhcModel.h"


@interface HomePageVM : BaseVM
@property (nonatomic ,strong) RootViewController *homeVC;


/***** Start ************************盈彩网首页****************************/

- (void)getNavigationByLhcSuccess:(SuccessBlock)success Fail:(FailBlock)fail;
/***** End   ************************盈彩网首页****************************/




/**
 * 获取彩种大分类
 **/
- (void)getLotteryTypeListWithParentId:(NSString *)parentId Success:(SuccessBlock)success Fail:(FailBlock)fail;

/**
 * 获取玩法列表
 * @parma lType 彩种Id，可空。空时返回所有彩种的玩法
 **/
- (void)getPlayList:(NSString *)lType andSuccess:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取首页开奖列表
 * @parma parentId 彩种分类Id
 **/
- (void)getHomeLotteryList:(NSString *)parentId andSuccess:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取粉丝榜
 * @parma type day=日榜 week=周榜 month=月榜 all=总榜
 **/
- (void)getFansBangList:(NSString *)type andPageIndex:(NSInteger)pageIndex andSuccess:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取用户在粉丝榜中的排名
 * @parma type day=日榜 week=周榜 month=月榜 all=总榜
 **/
- (void)getMyFansBangRanking:(NSString *)type andSuccess:(SuccessBlock)success andFail:(FailBlock)fail;


/**
 * 获取彩种开奖信息
 * @param lType 彩种分类Id
 */
- (void)getLotteryInfoWithId:(NSString *)lType Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取高手榜榜单
 * @param lType 彩种分类Id
 * @param queryType 榜单类型 day week month all
 */
- (void)getHighMasterListWithId:(NSInteger)lType andQueryType:(NSInteger)queryType Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取用户在高手榜中的排名
 * @param lType 彩种分类Id
 * @parma type day=日榜 week=周榜 month=月榜 all=总榜
 **/
- (void)getMyMasterBangRanking:(NSInteger)queryType andLType:(NSInteger)lType andSuccess:(SuccessBlock)success andFail:(FailBlock)fail;


/**
 * 获取积分榜榜单
 * @param queryType 榜单类型 day week month all
 */
- (void)getIntegralListWithQueryType:(NSInteger)queryType Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取自己的积分排名
 * @param queryType 榜单类型 day week month all
 */
- (void)getIntegralBangWithQueryType:(NSInteger)queryType Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取打赏盈利榜榜单
 * @param lType 彩种分类Id
 * @param queryType 榜单类型 day week month all
 * @param RType 榜单类型 4:盈利榜 9:打赏榜
 */
- (void)getProfitRewardListWithId:(NSInteger)lType andQueryType:(NSInteger)queryType andRType:(NSInteger)RType Success:(SuccessBlock)success andFail:(FailBlock)fail;


/**
 * 获取我的打赏盈利榜
 * @param lType 彩种分类Id
 * @param queryType 榜单类型 day week month all
 * @param RType 榜单类型 4:盈利榜 9:打赏榜
 */
- (void)getMyProfitRewardBangWithId:(NSInteger)lType andQueryType:(NSInteger)queryType andRType:(NSInteger)RType Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取热门新闻列表
 * @param count 数量
 */
- (void)getHotNewsWithCount:(NSInteger)count andSuccess:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取新闻栏目信息
 * @param ID 数量
 */
- (void)getNewsInfoWithId:(NSString *)ID andSuccess:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 检查更新
 * @param Code 版本号
 */
- (void)getVersionWithId:(NSString *)Code andSuccess:(SuccessBlock)success andFail:(FailBlock)fail;


@property (nonatomic ,strong) NSMutableArray *total;

+(HomePageVM *)manage;
@end
